﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using Sunny.UI;

namespace OvenParameterForm.Panel
{
    public partial class Frm_chartSetting : UIForm
    {
      public  Action<int> sendInterval;
        public Frm_chartSetting()
        {
            InitializeComponent();
        }

        private void btn_ok_Click(object sender, EventArgs e)
        {
            sendInterval(nud_timerInterval.Value*1000);
            this.Close();
        }
    }
}
